package com.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface UserDao {
	public Map<String, Object> query(@Param("account") String account);

	public Map<String, Object> queryall(@Param("account") String account,
			@Param("password") String password);

	public void add(@Param("account") String account,
			@Param("password") String password,
			@Param("account") String nickname,
			@Param("reg_date") String reg_date);

	public Map<String, Object> queryuser(@Param("id") String userId);

	public Map<String, Object> query_moneyin(@Param("user_id") String user_id);

	public Map<String, Object> query_moneyout(@Param("user_id") String user_id);

	public List<Map> queryJinQi(@Param("user_id") String user_id);

	public void queryadd(@Param("id") String id,
			@Param("date_time") String date_time,
			@Param("money_in") String money_in, @Param("place") String place,
			@Param("kind") String kind, @Param("remark") String remark);

	public void queryadd1(@Param("id") String id,
			@Param("date_time") String date_time,
			@Param("money_out") String money_out, @Param("place") String place,
			@Param("kind") String kind, @Param("remark") String remark);

	public Map<String, Object> queryid();

	public Map<String, Object> pin1(String string);

	public Map<String, Object> pin2(String string);

	public Map<String, Object> pin3(String string);

	public Map<String, Object> pin4(String string);

	public Map<String, Object> pin5(String string);

	public Map<String, Object> pin6(String string);

	public List<Map> queryg(String string);

	public List<Map> mohu(

	@Param("user_id") String userId, @Param("date_time") String date_time,
			@Param("place") String place, @Param("money_in") String money_in,
			@Param("money_out") String money_out, @Param("kind") String kind,
			@Param("remark") String remark);
	public List<Map> xiang(@Param("id") String id,
			@Param("user_id") String userId
	);

	public void dele(
	@Param("user_id") String userId, @Param("id") String id);
}
